package com.yonyou.gmmc.service.questionnaire.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_QNE_RESULT")
public class TtQneResult {
    @Id
    @Column(name = "REPLAY_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_QNE_RESULT")
    private Long replayId;

    @Column(name = "QNE_ID")
    private Integer qneId;

    @Column(name = "QNE_VERSION")
    private BigDecimal qneVersion;

    @Column(name = "QTN_ID")
    private Integer qtnId;

    @Column(name = "SUBMIT_TIME")
    private Date submitTime;

    @Column(name = "OWNER_ID")
    private Integer ownerId;

    @Column(name = "USER_ANSWER")
    private String userAnswer;

    @Column(name = "ANSWER_NO")
    private Integer answerNo;

    @Column(name = "USER_QNE_REF_ID")
    private Integer userQneRefId;

    /**
     * @return REPLAY_ID
     */
    public Long getReplayId() {
        return replayId;
    }

    /**
     * @param replayId
     */
    public void setReplayId(Long replayId) {
        this.replayId = replayId;
    }

    /**
     * @return QNE_ID
     */
    public Integer getQneId() {
        return qneId;
    }

    /**
     * @param qneId
     */
    public void setQneId(Integer qneId) {
        this.qneId = qneId;
    }

    /**
     * @return QNE_VERSION
     */
    public BigDecimal getQneVersion() {
        return qneVersion;
    }

    /**
     * @param qneVersion
     */
    public void setQneVersion(BigDecimal qneVersion) {
        this.qneVersion = qneVersion;
    }

    /**
     * @return QTN_ID
     */
    public Integer getQtnId() {
        return qtnId;
    }

    /**
     * @param qtnId
     */
    public void setQtnId(Integer qtnId) {
        this.qtnId = qtnId;
    }

    /**
     * @return SUBMIT_TIME
     */
    public Date getSubmitTime() {
        return submitTime;
    }

    /**
     * @param submitTime
     */
    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    /**
     * @return OWNER_ID
     */
    public Integer getOwnerId() {
        return ownerId;
    }

    /**
     * @param ownerId
     */
    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    /**
     * @return USER_ANSWER
     */
    public String getUserAnswer() {
        return userAnswer;
    }

    /**
     * @param userAnswer
     */
    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }

    /**
     * @return ANSWER_NO
     */
    public Integer getAnswerNo() {
        return answerNo;
    }

    /**
     * @param answerNo
     */
    public void setAnswerNo(Integer answerNo) {
        this.answerNo = answerNo;
    }

    /**
     * @return USER_QNE_REF_ID
     */
    public Integer getUserQneRefId() {
        return userQneRefId;
    }

    /**
     * @param userQneRefId
     */
    public void setUserQneRefId(Integer userQneRefId) {
        this.userQneRefId = userQneRefId;
    }
}